<div class="panel panel-primary">
  <div class="panel-heading">NgFor的用法</div>
  <div class="panel-body">
    <div [ngClass] = "currentClasses">批量设置css属性</div>
    <button class="btn btn-success" (click)="setCurrentClasses()">批量设置</button>
  </div>
</div>